#!/usr/bin/python

from random import randint

secret = randint(1, 10)
print("Welcome!")
guess = 0
while guess != secret:
    g = input("Guess the number: ")
    guess = int(g)
    if secret == guess:
        print("You win!")
    else:
	    if guess > secret:
		    print("Too high")
	    else:
		    print("Too low")
print("Game over!")
